package com.springboot.service;

import com.springboot.model.Employee;

import java.util.List;

/**
 * @Author: TongRui乀
 * @Date: 2019-11-15 15:54
 * @description：
 */
public interface EmployeeService {
    List<Employee> getEmployee();

    void createEmployee(String empName, String desc, Integer deptId);

    /**
     *  测试事务是否生效
     * @param isException
     * @return
     */
    String testTx(Integer isException);
}
